import { Field, ObjectType } from "@nestjs/graphql";
import { Pagination } from "./pagination";
import { UserOnTaskEntity } from "../user.on.task.entity/user.on.task.entity";


@ObjectType()
export class UserOnTaskPagination extends Pagination {
    @Field(() => [UserOnTaskEntity])
    data: UserOnTaskEntity[]
}